package com.iotechn.unimall.app.api.integralactivity;

import com.iotechn.unimall.core.annotation.HttpMethod;
import com.iotechn.unimall.core.annotation.HttpOpenApi;
import com.iotechn.unimall.core.annotation.HttpParam;
import com.iotechn.unimall.core.annotation.HttpParamType;
import com.iotechn.unimall.core.exception.ServiceException;
import com.iotechn.unimall.data.domain.IntegralTaskDO;

import java.util.List;

/**
 * 签到接口
 */
@HttpOpenApi(group = "taskintegral", description = "积分任务接口")
public interface TaskIntegralService {

    @HttpMethod(description = "积分任务列表")
    public List<IntegralTaskDO> taskList(
            @HttpParam(name = "userId", type = HttpParamType.USER_NO_ID, description = "用户Id") Long userId
    ) throws ServiceException;
}
